package com.aaa.hospital.nurse.service.Impl;

import com.aaa.hospital.nurse.mapper.SickroomareaMapper;
import com.aaa.hospital.nurse.pojo.Sickroomarea;
import com.aaa.hospital.nurse.service.SickroomareaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SickroomareaServiceImpl implements SickroomareaService {
    @Autowired
    private SickroomareaMapper mapper;

    @Override
    public List<Sickroomarea> selectAll() {
        return mapper.selectAll();
    }

    @Override
    public Sickroomarea queryById(Integer ksid) {
        return mapper.queryById(ksid);
    }
}
